﻿/**
 * Peter
 * Created by: Peter Development Team
 *    http://peter.codeplex.com/
 * 
 * GNU General Public License version 2 (GPLv2)
 *    http://peter.codeplex.com/license
 *
 *  This code is provided on an AS IS basis, with no WARRANTIES,
 *  CONDITIONS or GUARANTEES of any kind.
 *
 **/
using ICSharpCode.AvalonEdit;

namespace Peter.Logic.Interfaces
{
   /// <summary>
   /// Represents an object that needs and avalon editor.
   /// </summary>
   public interface IEditorNeeded
   {
      /// <summary>
      /// Sets the editor.
      /// </summary>
      /// <param name="editor">The editor control.</param>
      void SetEditor (TextEditor editor);
   }
}
